package com.yzd.learnjava.interfaces.interfaceprocessor;

import com.yzd.learnjava.util.Print;

public class Apply {
	public static void process(Processor processor, Object obj) {
		Print.print("Using Processor " + processor.name());
		Print.print(processor.process(obj));
	}
}
